﻿<?php 
/*
* 底部信息
*/
if(!defined('EMLOG_ROOT')) {exit('error!');} 
date_default_timezone_set('PRC');
//底部公告栏 
global $CACHE; 
$navi_cache = $CACHE->readCache('navi');
?>
<link type="text/css" href="<?php echo CSS_URL; ?>x.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo CSS_URL; ?>gg.css" />
<script type="text/javascript" src="<?php echo JS_URL; ?>ggg.js"></script>
<style>.qcShareQQDiv {display:none;} </style>
<div id="gg">
  <div class="ggclose gga"><a href="javascript:void(0)" onclick="$('#gg').slideUp('slow');" title="关闭">x</a>
  <a style="color:#FFFFFF;" href="javascript:(function(){var w=window,d=document,s;if(!w.jiathis){w.jiathis=1;s=d.createElement('script');s.src='http://v3.jiathis.com/code/j.js';d.getElementsByTagName('head')[0].appendChild(s);s=null}else{$CKE.center()}})()">分享此页到...</a>
  <a style="color:#FFFFFF;" href="javascript:void (function(d) {var e = d.createElement('script');e.byebj=true;e.src = 'http://s.wenzhang.baidu.com/js/pjt/content_ex/page/bookmark.js?s=bm&t=' + (+new Date());var b = d.getElementsByTagName('body')[0];b.firstChild ? b.insertBefore(e, b.firstChild) : b.appendChild(e);}(document));">收藏到百度云</a>
  </div>
    <div class="gga" style="color:#FFFFFF;">
    　　功能导航：<?php foreach($navi_cache as $value):
		$newtab = $value['newtab'] == 'y' ? 'target="_blank"' : '';
		$value['url'] = $value['isdefault'] == 'y' ? BLOG_URL . $value['url'] : trim($value['url'], '/');
		$current_tab = (BLOG_URL . trim(Dispatcher::setPath(), '/') == $value['url']) ? 'current' : 'common';
		?>
		<a style="color:#FFFFFF;" href="<?php echo $value['url']; ?>" <?php echo $newtab;?> ><?php echo $value['naviname']; ?></a> | 
		<?php endforeach; ?>
	<?php
$index_randlognum = Option::get('index_randlognum');
$Log_Model = new Log_Model();
$randLogs = $Log_Model->getRandLog(1);  //1为随机数量
foreach($randLogs as $value):
echo '<a href="'.Url::log($value['gid']).'" title="点我吧，点我吧！我能随机给你找一篇好看的文章！" style="color:#FFFFFF;">随便看看</a>';
endforeach;
?>
    </div>
  <div class="bulletin">
    <ul>
    </ul>
  </div>
</div>



<div style="clear:both;"></div>
<div id="footer">
<footer>
<div id="BigFooterRegionOuter" class="regionOuter accentBorder FooterBigRegion">
	<div id="BigFooterRegion" class="region grid-container">
		
                <div id="bodyBigFooter">
                    <div class="contentContainer" ms.exid="fatfooter" ms.cid="1321398" ms.cver="40"><script type="text/javascript">
      //<![CDATA[
      link_expandAllText = '全部显示';
      link_collapseAllText = '全部隐藏';
      //]]></script><div class="topic_no_sidebar contentPiece"><div class="topic_body">
    <div class="accordion-to-grid-group"><div class="accordion-to-grid-first-column accordion-to-grid-column"><div class="accordion-to-grid-item"><div class="accordion-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
            感谢
            </h3><div class="accordion-expand-collapse-icon clip13x13"><img class="accordion-expand-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="展开" data-id="ID0EDBHBBA"><img class="accordion-collapse-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="折叠" data-id="ID0EDBHBBA"></div></div><div class="accordion-to-grid-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              感谢
            </h3></div><div class="group-list-content">
            <li><a href="http://www.emlog.net" target="_blank" title="Powered By Emlog [ <?php echo Option::EMLOG_VERSION ?> WX ]">Emlog</a></li>
            <li><a href="http://viLuo.com/" target="_blank" rel="nofollow">viLuo</a></li>
            <li><a href="<?php echo BLOG_URL; ?>" target="_blank"><?php echo BLOG_NAME; ?></a></li>
            <li><a href="http://www.stus8.com" target="_blank">StusGame GROUP</a></li>
          </div><br/><br/><div class="accordion-to-grid-item"><div class="accordion-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              最新文章
            </h3><div class="accordion-expand-collapse-icon clip13x13"><img class="accordion-expand-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="展开" data-id="ID0EDBFBBA"><img class="accordion-collapse-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="折叠" data-id="ID0EDBFBBA"></div></div><div class="accordion-to-grid-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              最新文章
            </h3><iframe id="tmp_downloadhelper_iframe" style="display: none;"></iframe></div><div class="group-list-content">
            <div class="iList iListNoDesc"><ul class="iListInnerList">
              <?php echo sideBlogList("new",9); ?>
            </ul></div>
          </div><hr class="accordion-link-separator"></div>
          <div class="accordion-to-grid-item"><div class="accordion-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              其他
            </h3><div class="accordion-expand-collapse-icon clip13x13"><img class="accordion-expand-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="展开" data-id="ID0EDBFBBA"><img class="accordion-collapse-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="折叠" data-id="ID0EDBFBBA"></div></div><div class="accordion-to-grid-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              其他
            </h3><iframe id="tmp_downloadhelper_iframe" style="display: none;"></iframe></div><div class="group-list-content">
            <div class="iList iListNoDesc"><ul class="iListInnerList" style="color:#8e8e8e;">
              <?php if(!empty($icp)) { echo '<li>备案号：'.$icp.'</li>'; } ?>
              <li>协议：<a href="http://zhizhe8.net/url.php?url=http://creativecommons.org/licenses/by-nc-nd/3.0/cn/legalcode" target="_blank">署名-非商业性使用-禁止演绎</a></li>
              <?php if(!empty($footer_info)) { echo $footer_info; } ?>
              <li><?php doAction('index_footer'); ?></li>
            </ul></div>
          </div><hr class="accordion-link-separator"></div>
          <hr class="accordion-link-separator"></div></div><div class="accordion-to-grid-column"><div class="accordion-to-grid-item"><div class="accordion-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              热门文章
            </h3><div class="accordion-expand-collapse-icon clip13x13"><img class="accordion-expand-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="展开" data-id="ID0EDDDBBA"><img class="accordion-collapse-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="折叠" data-id="ID0EDDDBBA"></div></div><div class="accordion-to-grid-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              热门文章
            </h3></div><div class="group-list-content">
            <div class="iList iListNoDesc"><ul class="iListInnerList"><li><p class="para">
            	<?php echo sideBlogList("view",15); ?>
            </p></li></ul></div>
          </div>
          <hr class="accordion-link-separator"></div></div><div class="accordion-to-grid-column"><div class="accordion-to-grid-item"><div class="accordion-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              随机文章
            </h3><div class="accordion-expand-collapse-icon clip13x13"><img class="accordion-expand-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="展开" data-id="ID0EDDDBBA"><img class="accordion-collapse-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="折叠" data-id="ID0EDDDBBA"></div></div><div class="accordion-to-grid-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              随机文章
            </h3></div><div class="group-list-content">
            <div class="iList iListNoDesc"><ul class="iListInnerList">
            	<?php echo sideBlogList("rand",15); ?>
            </ul></div>
          </div><hr class="accordion-link-separator"></div></div><div class="accordion-to-grid-column"><div class="accordion-to-grid-item" style="width:100px;"><div class="accordion-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              友情链接
            </h3><div class="accordion-expand-collapse-icon clip13x13"><img class="accordion-expand-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="展开" data-id="ID0EDDBBBA"><img class="accordion-collapse-icon png-fallback" src="http://res2.windows.microsoft.com/resources/4.2/wol/shared/images/merged/gl_site.svg" alt="折叠" data-id="ID0EDDBBBA"></div></div><div class="accordion-to-grid-title"><h3 class="headingBase headingXS saHeadingXS ccLight">
              友情链接
            </h3></div><div class="group-list-content">
            <div class="iList iListNoDesc"><ul class="iListInnerList"><?php 
	global $CACHE; 
	$link_cache = $CACHE->readCache('link');
	shuffle($link_cache);
	foreach($link_cache as $value): ?>
	<li><a href="<?php echo $value['url']; ?>" title="<?php echo $value['des']; ?>" target="_blank"><?php echo $value['link']; ?></a></li>
	<?php endforeach; 
            ?>
            </ul></div>
  </div>
            
	</div>
</div>

</div>
<a name="wdb" id="wdb"></a>
<script type="text/javascript">var syntaxhighlighter_dir = '<?php echo CDN_URL; ?>syntaxHighlighter';</script>
<script type="text/javascript" src="<?php echo CDN_URL; ?>syntaxHighlighter/scripts/shCore.js"></script>
</body>
</html>
<?php ob_end_flush(); ?>